package org.springblade.pm.service;

import org.springblade.core.mp.base.BaseService;
import org.springblade.pm.entity.PmWeeknote;

import java.util.List;
import java.util.Map;

public interface IPmWeeknoteService extends BaseService<PmWeeknote> {

	/**
	 * 增加修改
	 */
	boolean submit(PmWeeknote weeknote);


	/**
	 * 查询所有周报信息
	 * @return
	 */
	List<Map<String, Object>> selectWeekList(Map<String, Object> map);
	/**
	 * 根据id查询
	 * @param
	 * @return
	 */
	Map<String,Object> selectWeekById(Map<String, Object> params);

	/**
	 * 根据id删除
	 * @param id
	 * @return
	 */
	boolean deleteWeekById(Integer id);

	/**
	 * 获取项目经理筛选框
	 * @param params
	 * @return
	 */
	List<Map<String,Object>> getManager(Map<String,Object> params);

	String selectWeekByProjectId(Integer proId);
}
